package com.lj.ucenter.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author luojing
 * @version 1.0
 * @date 2021/7/1 12:02
 */
@Data
public class RegisterVo {
    @ApiModelProperty(value = "手机号")
    @NotEmpty(message = "手机号不得为空")
    private String mobile;

    @ApiModelProperty(value = "密码")
    @NotEmpty(message = "密码不得为空")
    private String password;

    @ApiModelProperty(value = "昵称")
    @NotEmpty(message = "昵称不得为空")
    private String nickname;

    @ApiModelProperty(value = "验证码")
    @NotEmpty(message = "验证码不得为空")
    private String code;
}
